// https://github.com/michael-ciniawsky/postcss-load-config

module.exports = {
  plugins: {
    // to edit target browsers: use "browserslist" field in package.json
    autoprefixer: {
      overrideBrowserslist: ['Android >= 4.0', 'iOS >= 8']
    },
    'postcss-pxtorem': {
      rootValue: 75,
      propList: ['*'],
      selectorBlackList: ['element.', '.el-', 'vant-', '.my-'],
      exclude: e => {
        if (/src(\\|\/)views(\\|\/)mobile/.test(e)) {
          return false
        }
        return true
      }
    }
  }
}
